Skip to content

Conversation

otacke
Copy link
Contributor

@otacke otacke commented Jan 6, 2024

When merged in, will fix the validate function of a number field to return true if the field is optional and nothing is set.

Currently, the validate function returns undefined if the field is optional and not value is set. One can work around this, of course, but it feels unintuitive if the return value is a boolean for when the value does not validate but undefined if it validates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant